<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<f:view contentType="text/html">
	<head>
	<h:head>
		<f:facet name="first">
			<meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
			<meta content='text/html; charset=UTF-8' http-equiv="Content-Type" />
			<title>PrimeFaces - ShowCase</title>
		</f:facet>
	
		<style type="text/css">
			.ui-layout-north {
				z-index: 20 !important;
				overflow: visible !important;;
			}
			
			.ui-layout-north .ui-layout-unit-content {
				overflow: visible !important;
			}
		</style>
		<p:resources />
	</h:head>

		<link type="text/css" rel="stylesheet"	href="#{request.contextPath}/estilo/default.css" />
		<link type="text/css" rel="stylesheet"	href="#{request.contextPath}/estilo/Base.css" />
		<link type="text/css" rel="stylesheet"	href="#{request.contextPath}/primefaces-start/theme.css" />
	</head>

	<h:body>
		<p:layout fullPage="true">
			<p:layoutUnit position="north" size="100" header="Top"
				resizable="true" closable="true" collapsible="true">
				<h:outputText value="Top unit content." />
			</p:layoutUnit>

			<p:layoutUnit position="south" size="100" header="Bottom"
				resizable="true" closable="true" collapsible="true">
				<h:outputText value="South unit content." />
			</p:layoutUnit>

			<p:layoutUnit position="west" size="280" header="Minha área de trabalho"
				resizable="true" closable="false" collapsible="false">
				<h:form>
				
				<p:accordionPanel>
					<p:tab title="Documentos">
						<h:panelGrid columns="2" cellpadding="10">
						<h:outputText
								value="The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding. 
								His beloved son Michael has just come home from the war, but does." />
						</h:panelGrid>
						
						<h:panelGrid columns="2" cellpadding="10">
							<p:tree value="#{tree.root}" var="node" dynamic="true" style="width: 200px;" cache="false"
						            selectionMode="single"  selection="#{tree.selectedNode}">
						        <p:treeNode>
						            <h:outputText value="#{node}" />
						        </p:treeNode>
						    </p:tree>
					    </h:panelGrid>
						
						
					</p:tab>
					<p:tab title="Jobs">
						<h:panelGrid columns="2" cellpadding="10">
							<h:outputText value="Francis Ford Coppola's legendary continuation and sequel to his landmark 1972 film, The_Godfather, parallels the young Vito Corleone's rise with his son Michael's spiritual fall, deepening The_Godfather's depiction of the dark side of the American dream. 
							In the early 1900s, the child Vito flees his Sicilian village for America after the local Mafia kills his family. Vito struggles to make a living, legally or illegally, for his wife and growing brood in Little Italy, 
							killing the local Black Hand Fanucci after he demands his customary cut of the tyro's business. With Fanucci gone, Vito's communal stature grows." />
						</h:panelGrid>
						
									
				<h:panelGrid columns="2" cellpadding="10">						
						<h:selectOneMenu value="#{tree.jobDocument}">
		            	<f:selectItems value="#{tree.jobs}" var="player" itemLabel="#{player.name}" itemValue="#{player}"/>      
		        		</h:selectOneMenu>
		        </h:panelGrid>
						
						
					</p:tab>
					<p:tab title="Workflows">
						<h:panelGrid columns="2" cellpadding="10">
							<h:outputText value="After a break of more than 15 years, director Francis Ford Coppola and writer Mario Puzo returned to the well for this third and final story of the fictional Corleone crime family. 
								Two decades have passed, and crime kingpin Michael Corleone, now divorced from his wife Kay has nearly succeeded in keeping his promise that his family would one day be completely legitimate." />
						</h:panelGrid>
					</p:tab>
				</p:accordionPanel>
				</h:form>
			</p:layoutUnit>

			<p:layoutUnit position="east" size="200" header="Right"
				resizable="true" closable="true" collapsible="true" effect="drop">
				<h:outputText value="Right unit content." />
			</p:layoutUnit>

			<p:layoutUnit position="center">
				<h:form>
				
				<h:panelGrid columns="2" cellpadding="10">
							<p:tree value="#{tree.root}" var="node" dynamic="true" style="width: 200px;" cache="false"
						            selectionMode="single"  selection="#{tree.selectedNode}">
						        <p:treeNode>
						            <h:outputText value="#{node}" />
						        </p:treeNode>
						    </p:tree>
					    </h:panelGrid>
				<p:button  value="Bookmark" image="bookmark" />
								
		
		        </h:form>
			</p:layoutUnit>
		</p:layout>
	</h:body>

</f:view>
</html>